#!/bin/bash
tar xf gdbm-1.18.1.tar.gz 
cd gdbm-1.18.1
./configure --prefix=$1/usr --disable-static --enable-libgdbm-compat --host=$4
make -j$2
make install
cd ..
rm -rf gdbm-1.18.1

